package com.padakeji.android.pworks.example.retrofit.api;

import com.padakeji.android.pworks.example.retrofit.bean.TestBean;

import retrofit.Callback;
import retrofit.http.GET;
import retrofit.http.Path;

/**
 * Created by AtanL on 2015/9/23.
 */
public interface TestApi {
    @GET("/News/news/{id}")
    void getTest(@Path("id") int id, Callback<TestBean> callback);
}
